.wp-block-accordion-panel[aria-hidden=true],.wp-block-accordion-panel[inert]{
  display:none;
  margin-block-start:0;
}